package com.bw.service;

import com.bw.entity.TbDicti;
import com.bw.entity.vo.CompanyVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
@FeignClient("port-server")
public interface DictiService {
    //数据字典
    @GetMapping("dictilist")
    List<TbDicti> dictilist(@RequestParam("mohu")String mohu);
    @GetMapping("companylist")
    List<CompanyVo> companylist(@RequestParam("mohu")String mohu);
}
